<template>
  <div class="item">
    <div class="head">
      <van-uploader v-model="item.serviceList" :max-count="1" class="license" :deletable="false" />
      <div class="title">
        <div class="name">加盟商</div>
        <div class="up_leader">上级:渠道经理</div>
      </div>
      <div class="edit c_flex">编辑</div>
    </div>
    <div class="content">
      <div class="van-ellipsis info">姓名:加盟商</div>
      <div class="van-ellipsis info">电话:15903602970</div>
      <div class="van-ellipsis info">合作时间:2021-01-01,2023-12-31</div>
      <div class="van-ellipsis info">纳税识别号:92000000000000</div>
      <div class="van-ellipsis info">银行卡号: 6222 2222 2222 2222</div>
      <div class="van-ellipsis info">开户行: 中国银行胜利路支行</div>
    </div>
    <div class="sign">
     <div class="sign_title"> 合作协议:</div>
      <van-uploader v-model="item.fileList" :max-count="1" :deletable="false" />
    </div>
  </div>
</template>

<script>
  export default {
    name: "item",
    data() {
      return {
        item: {
          fileList: [{
            url: 'https://img01.yzcdn.cn/vant/leaf.jpg'
          }, ],
          serviceList: [{
            url: '/logo.png'
          }]
        }
      }
    },
  }
</script>

<style lang="less" scoped>
  .item {
    width: 702px;
    height: 820px;
    padding: 43px 28px;
    border-radius: 16px;
    background-color: #ffffff;
    margin-bottom: 25px;

    .head {
      display: flex;


      .title {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-left: 30px;

        .name {
          color: rgba(51, 51, 51, 1);
          font-size: 38px;
        }

        .up_leader {
          color: rgba(153, 153, 153, 1);
          font-size: 32.39646911621094px;
        }
      }

      .edit {
        width: 143.98px;
        height: 43.2px;
        color: rgba(153, 153, 153, 1);
        font-size: 32.39646911621094px;
        border-radius: 8px;
        border: 1px solid rgba(153, 153, 153, 1);
      }
    }

    .content {
      color: rgba(56, 56, 56, 1);
      letter-spacing: 0.7199215698242187px;
      font-size: 35.99607849121094px;

      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding-top: 80px;

      .info:not(:last-child) {
        margin-bottom: 35px;
      }

      .van-ellipsis {
        height: 35px;
      }
    }

    .sign {
      display: flex;
      align-items: center;
      justify-content: space-evenly;
      margin-top: 30px;
      .sign_title {
        color: rgba(51, 51, 51, 1);
        letter-spacing: 0.791913833618164px;
        font-size: 39.5956916809082px;
        
      }

      /deep/.van-uploader__upload {
        width: 120px;
        height: 120px;
      }

      /deep/.van-image {
        width: 120px;
        height: 120px;
      }

      /deep/.van-image__img {
        width: 120px;
        height: 120px;
      }
    }
  }
</style>